package pay.commont;

public enum LockType {
    GOODS("lock:goods:"),
    ORDER_GOODS("lock:orders:goods:"),
    ORDER("lock:order:"),
    COUPON("lock:coupon:"),
    OUT_TRADE_NO("lock:out_trade_no:"),
    USER_ID("lock:user_id:"),
    ORDER_GOODS_ID("lock:order_goods_id:"),
    ACTIVITY_RESERVATION("lock:activity_reservation:"),
    ACTIVITY_PASSAGE_ID("lock:activity_passage_id:"),
    ACTIVITY_ID("lock:activity_id:"),
    ACTIVITY_JOB("lock:activity:job:"),
    ACTIVITY_USER_ID("lock:activity:user_id:");
    private String name;

    public String getName() {
        return name;
    }

    private LockType(String name) {
        this.name = name;
    }
}
